package com.biz.primus.ms.evaluation.dao.repository;

import com.biz.primus.ms.base.jpa.repository.CommonJpaRepository;
import com.biz.primus.ms.evaluation.dao.po.OrderEvaluation;
import org.springframework.stereotype.Repository;

/**
 * 评价资源接口
 *
 * @author Tiger Feng
 * @date 2017年11月06日
 */
@Repository
public interface OrderEvaluationRepository extends CommonJpaRepository<OrderEvaluation,Long>,OrderEvaluationDao {

    /**
     * 根据订单编号后去订单评价
     * @param orderCode
     * @return
     */
    OrderEvaluation findByOrderCode(String orderCode);

}
